﻿/**********************************************************************/
/*                                                                    */
/*                   embDocumentInhalator                             */
/*             http://embdocumentinhalator.codeplex.com/              */
/*                                                                    */
/*               (c) Copyright 2010 Ilija Injac         .             */
/*                                                                    */
/*  This source is subject to the CDDL License                        */
/*  http://embdocumentinhalator.codeplex.com/license                  */
/*                                                                    */
/*                                                                    */
/**********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace embDocumentInhalator.embDocInhalatorWebPartSandboxed
{
    /// <summary>
    /// Class to set all the relevant settings for the scanning
    /// devices.
    /// </summary>
    /// This element was inserted by injac on machine PLATINCHECKER.
    /// 29.01.2011,20:45
    public struct ScannerSettings
    {
        /// <summary>
        /// Holding the resolution in DPI for x-axis.
        /// </summary>
        private int _ResParamX;

        /// <summary>
        /// Gets or sets the res param X.
        /// </summary>
        /// <value>The res param X.</value>
        /// This element was inserted by injac on machine PLATINCHECKER.
        /// 29.01.2011,20:46
        public int ResParamX
        {
            get { return _ResParamX; }
            set { _ResParamX = value; }
        }
        /// <summary>
        /// Holding the resolution for the y-axis.
        /// </summary>
        private int _ResParamY;

        /// <summary>
        /// Gets or sets the res param Y.
        /// </summary>
        /// <value>The res param Y.</value>
        /// This element was inserted by injac on machine PLATINCHECKER.
        /// 29.01.2011,20:46
        public int ResParamY
        {
            get { return _ResParamY; }
            set { _ResParamY = value; }
        }
        /// <summary>
        /// Holding the bits per pixel.
        /// </summary>
        private int _BitsPerPixel;

        /// <summary>
        /// Gets or sets the bits per pixel.
        /// </summary>
        /// <value>The bits per pixel.</value>
        /// This element was inserted by injac on machine PLATINCHECKER.
        /// 29.01.2011,20:46
        public int BitsPerPixel
        {
            get { return _BitsPerPixel; }
            set { _BitsPerPixel = value; }
        }
        /// <summary>
        /// Holds the Image-Format for the scanner.
        /// </summary>
        private string _ImageFormat;

        /// <summary>
        /// Gets or sets the image format.
        /// </summary>
        /// <value>The image format.</value>
        /// This element was inserted by injac on machine PLATINCHECKER.
        /// 29.01.2011,20:47
        public string ImageFormat
        {
            get { return _ImageFormat; }
            set { _ImageFormat = value; }
        }

        /// <summary>
        /// Holds the color mode for the scanner.
        /// </summary>
        private string _ColorMode;

        /// <summary>
        /// Gets or sets the color mode.
        /// </summary>
        /// <value>The color mode.</value>
        /// This element was inserted by injac on machine PLATINCHECKER.
        /// 29.01.2011,20:47
        public string ColorMode
        {
            get { return _ColorMode; }
            set { _ColorMode = value; }
        }

        public int PreferedColorMode
        {
            get { return preferedColorMode; }
            set { preferedColorMode = value; }
        }

        private int preferedColorMode;

    }


    /// <summary>
    /// The image constants (registry entries) for the 
    /// scanning image formats.
    /// </summary>
    /// This element was inserted by injac on machine PLATINCHECKER.
    /// 29.01.2011,20:47
    public struct ImageConstants
    {
        
        public const string wiaFormatBMP = "{B96B3CAB-0728-11D3-9D7B-0000F81EF32E}";
        public const string wiaFormatPNG = "{B96B3CAF-0728-11D3-9D7B-0000F81EF32E}";
        public const string wiaFormatGIF = "{B96B3CB0-0728-11D3-9D7B-0000F81EF32E}";
        public const string wiaFormatJPEG = "{B96B3CAE-0728-11D3-9D7B-0000F81EF32E}";
        public const string wiaFormatTIFF = "{B96B3CB1-0728-11D3-9D7B-0000F81EF32E}";
    }
}
